package com.himiotech.core.project.model.metadata;

/**
 * @author wuwenbin
 * @date 2021-05-22 16:30:52
 **/
public enum UserMetadata {

    /**
     * 字段类型列举，方便 mp 的 wrapper 使用
     */
    USER_ID("user_id"),
    DEPT_ID("dept_id"),
    LOGIN_NAME("login_name"),
    USER_NAME("user_name"),
    USER_TYPE("user_type"),
    EMAIL("email"),
    PHONE_NUMBER("phone_number"),
    SEX("sex"),
    AVATAR("avatar"),
    PASSWORD("password"),
    SALT("salt"),
    STATUS("status"),
    DEL_FLAG("del_flag"),
    LOGIN_IP("login_ip"),
    LOGIN_DATE("login_date"),
    PWD_UPDATE_DATE("pwd_update_date"),
    CREATE_BY("create_by"),
    GMT_CREATE("gmt_create"),
    MODIFIED_BY("modified_by"),
    GMT_MODIFIED("gmt_modified"),
    REMARK("remark"),
    CREATE_BY_NAME("create_by_name"),
    MODIFIED_BY_NAME("modified_by_name");

    private final String colName;

    UserMetadata(String colName) {
        this.colName = colName;
    }

    public String getColName() {
        return colName;
    }
}


